package cn.project.lemontree.service;

import cn.project.lemontree.bean.Child;
import cn.project.lemontree.bean.Parent;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ParentService extends IService<Parent> {

    List<Parent> listpage(int page, int size, String parentName,String telephone);
    int count(String parentName,String telephone);
    boolean save(Parent parent);
    Parent login(String telephone);
    boolean update(Parent parent);
    List<Parent> findParentByid(Integer childId);
    Parent findBytp(String telephone);
    List<Parent> getByClassId(Integer classId);
}
